<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
</head>
<body>
	<table border="1" style=" margin:0 auto">
		<tr>
			<th>商品名</th>
			<th>商品ID</th>
			<th>商品价格</th>
			<th>描述</th>
			<th>操作</th>
		</tr>
		<?php foreach ($data  as $k => $v): ?>
			
		<tr>
			<td><?php echo $v['name'] ;?> </td>
			<td><?php echo $v['price']; ?>元 </td>
			<td><?php echo $v['desc']; ?> </td>
			<td><?php echo $v['id'] ;?> </td>
			<td>
				<button>删除</button>
				<button>编辑</button>
			</td>


			
		</tr>
		<?php endforeach ?>
	</table>


	
</body>
</html>